<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>GET提交</h1>
	<form action="./testPost" method="GET">
		用户名: <input type="text" name="name" /> <input type="submit"
			value="提交" />
	</form>

	<h1>POST提交</h1>
	<form action="./testPost" method="POST">
		用户名: <input type="text" name="name" /> <input type="submit"
			value="提交" />
	</form>
</body>
</html>